<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<!DOCTYPE html>
<html>
<head>
    <title>数据字典管理</title>
</head>
<body>
<form class="form-horizontal page-header" id="search-form">
    <div class="form-group">
        <label class="col-xs-12 col-sm-1 control-label">标题：</label>

        <div class="col-xs-12 col-sm-3">
            <input type="text" name="text" class="input-large">
        </div>


        <label class="col-xs-12 col-sm-1 control-label">状态：</label>

        <div class="col-xs-12 col-sm-3">
            <select name="status" class="input-large">
                <option value=""></option>
                <c:forEach items="${statusItems}" var="item">
                    <option value="${item.key}">${item.value}</option>
                </c:forEach>
            </select>
        </div>

        <label class="col-xs-12 col-sm-1 control-label"></label>

        <div class="col-xs-12 col-sm-3">
            <button class="btn btn-primary  btn-sm input-btn" type="button" onclick="doSearch()"><i
                    class="ace-icon fa fa-search bigger-120 white"></i>查找
            </button>
        </div>
    </div>
</form>

<div class="row">

    <div class="col-xs-12 custom_tools">
        <div id="indexAlert" class="hide" style="min-width:400px"></div>
        <button class="btn btn-primary  btn-sm" onclick="doAdd(0)"><i class="ace-icon fa fa-plus bigger-120 white"></i>增加
        </button>
    </div>

</div>

<div class="row">
    <div class="col-xs-12">
        <table id="tree"></table>
    </div>
</div>

<style type="text/css">
    .label-xlg {
        padding: .3em .7em .4em;
        font-size: 14px !important;
        line-height: 1.3 !important;
        height: 28px !important;
    }

    .datagrid-cell {
        height: 40px !important;
        line-height: 40px !important;
    }
    .datagrid-body .datagrid-cell-c1-text{
        padding:12px 4px;
    }
    .datagrid-header-row .datagrid-cell span {
        /*border-color: #ddd;*/
        font-weight: 700;
    }
</style>
<c:import url="../common/validate.jsp"/>
<script type="text/javascript" src="${ctx}/resources/js/plugins/lib/loader.js"></script>
<script type="text/javascript" src="${ctx}/resources/ace/dist/js/bootbox.min.js"></script>
<script type="text/javascript" src="${ctx}/resources/js/module/dictionary/dictionary.js"></script>


</body>
</html>